home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6105 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  570 b 

  1. Path: ix.netcom.com!netnews
  2. From: Manuel Hernandez <ManuelHe@ix.netcom.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: cin for strings and integers
  5. Date: 11 Feb 1996 21:32:08 GMT
  6. Organization: Netcom
  7. Message-ID: <4fln8o$m2p@ixnews4.ix.netcom.com>
  8. NNTP-Posting-Host: irv-ca10-11.ix.netcom.com
  9. X-NETCOM-Date: Sun Feb 11  1:32:08 PM PST 1996
  10.  
  11. I am having trouble inputing strings using cin.getline()
  12. after I input an integer using cin >> integer. I know this
  13. has to do with cin retaining the end of line character, does
  14. cin >> integer attatch an end of line character to my input?
  15.